package com.ruoyi.module.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户自定义词典单词对象 user_custom_dict_word
 * 
 * @author ruoyi
 */
public class UserCustomDictWord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 词典ID */
    @Excel(name = "词典ID")
    private String dictId;

    /** 单词 */
    @Excel(name = "单词")
    private String word;

    /** 翻译 */
    @Excel(name = "翻译")
    private String translation;

    /** 音标 */
    @Excel(name = "音标")
    private String phonetic;

    /** 例句 */
    @Excel(name = "例句")
    private String example;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sortOrder;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setDictId(String dictId) 
    {
        this.dictId = dictId;
    }

    public String getDictId() 
    {
        return dictId;
    }

    public void setWord(String word) 
    {
        this.word = word;
    }

    public String getWord() 
    {
        return word;
    }

    public void setTranslation(String translation) 
    {
        this.translation = translation;
    }

    public String getTranslation() 
    {
        return translation;
    }

    public void setPhonetic(String phonetic) 
    {
        this.phonetic = phonetic;
    }

    public String getPhonetic() 
    {
        return phonetic;
    }

    public void setExample(String example) 
    {
        this.example = example;
    }

    public String getExample() 
    {
        return example;
    }

    public void setSortOrder(Integer sortOrder) 
    {
        this.sortOrder = sortOrder;
    }

    public Integer getSortOrder() 
    {
        return sortOrder;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("dictId", getDictId())
            .append("word", getWord())
            .append("translation", getTranslation())
            .append("phonetic", getPhonetic())
            .append("example", getExample())
            .append("sortOrder", getSortOrder())
            .append("createTime", getCreateTime())
            .toString();
    }
}

